import BaseEnum from '@/core/utils/BaseEnum'
import BaseEnumValue from '@/core/utils/BaseEnumValue'

class CaptchaComponentConfigComponentTypeEnum extends BaseEnum<string> {
	EASY_CAPTCHA = new BaseEnumValue<string>('easy_captcha', 'easy-captcha组件')
	KAPTCHA = new BaseEnumValue<string>('kaptcha', 'google-kaptcha组件')
	constructor() {
		super(['EASY_CAPTCHA', 'KAPTCHA'])
	}
}

const enumModel = new CaptchaComponentConfigComponentTypeEnum()

export default enumModel
